<template>
  <!-- 踢出公海 -->
  <div>
    <el-dialog
      title="踢出公海"
      :visible.sync="kickoutDialog"
      width="30%"
      :before-close="close"
    >
      <!-- 内容 -->
      <div>
        <div>
          <el-form label-width="90px">
            <el-form-item label="请选择原因:">
              <el-select v-model="region" placeholder="请选择">
                <el-option label="区域一" value="shanghai" />
                <el-option label="区域二" value="beijing" />
              </el-select>
            </el-form-item>
          </el-form>
        </div>
      </div>
      <span slot="footer" class="dialog-footer">
        <el-button @click="close">取 消</el-button>
        <el-button type="primary" @click="close">确 定</el-button>
      </span>
    </el-dialog>
  </div>
</template>

<script>
export default {
  props: {
    kickoutDialog: {
      type: Boolean,
      required: false
    }
  },
  data() {
    return {
      region: ''
    }
  },
  methods: {
    close() {
      this.$emit('update:kickoutDialog', false)
    }
  }
}
</script>

<style lang="scss" scoped>
::v-deep .el-dialog__header{
    background-color: #1890ff;
}
::v-deep .el-dialog__title{
    color: #fff;
    font-size: 16px;
}
::v-deep .el-dialog__close{
    color: #fff;
}
::v-deep .el-input__inner{
    width: 300px !important;
    height: 30px !important;
}
::v-deep .el-textarea .el-textarea__inner{
    width: 300px !important;
}
</style>

